package com.baidu.health.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 答案表--张静超(评测中心)
 * @TableName tb_answer
 */
@TableName(value ="tb_answer")
@Data
public class TbAnswer implements Serializable {
    /**
     * 答案id
     */
    @TableId(type = IdType.AUTO)
    private Integer answerId;

    /**
     * 问题id
     */
    private Integer askId;

    /**
     * 答案名称
     */
    private String answerName;

    /*
    风险因素id
     */
    private Integer factorId;

    /**
     * 假删除
     */
    @TableLogic
    private Byte deleted;

    /**
     * 创建的时间
     */
    private Date createTime;

    /**
     * 最后修改的时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}